<template>
  <div>
    {{ name }}
    {{ age }}
    {{ sex }}
    {{ getData2() }}
    {{ getData3() }}
  </div>
</template>

<script>
export default {
  name: "grandson",
  props: ["name", "age", "sex", "getData2", "getData3"],
  mounted() {
    this.$emit("abc");
  },
};
</script>

<style></style>
